﻿using DynamicApi.Utility.Attributes;
using System.Reflection;

namespace DynamicApi.Utility.Provider;
public class ServiceLocalSelectController : ISelectController
{
    public bool IsController(Type type)
    {
        return type.IsPublic && type.GetCustomAttribute<ServiceAttribute>() != null;
    }
}